@import "./color.scss";
@import "./size.scss";
.woke_left {
    float: left;
}

.woke_right {
    float: right;
}

// global table pel
.alltable {
    width: 100%;
    min-height: 760px;
    background: #fff;
    padding: 0 20px;
    font-size: $s16;
    overflow: hidden;
    .ivu-checkbox-wrapper {
        font-weight: 600;
    }
    .tabbar {
        margin: 26px 0;
        overflow: hidden;
        >div {
            display: inline-block;
        }
        .let {
            float: left;
            .ivu-select-dropdown {
                font-size: 12px !important;
            }
        }
        .icon_wy {
            vertical-align: -3px;
            margin-right: 2px;
            font-weight: bold;
        }
        .rit {
            float: right;
            .ivu-btn {
                margin-left: 6px;
            }
        }
        .top20 {
            @media screen and (max-width: 1500px) {
                margin-top: 20px;
            }
        }
    }
    .row_right {
        text-align: right;
        padding-right: 1em;
        @media screen and (max-width: 1500px) {
            padding-right: 0.6em;
        }
    }
    .ivu-table-wrapper {
        border: none
    }
    .ivu-table:before,
    .ivu-table:after {
        height: 0px;
        width: 0px;
    }
    .ivu-table td,
    .ivu-table th {
        height: 44px;
        border-bottom: 1px solid #b4b4b4 !important;
    }
    .ivu-table-sort i.on {
        color: #666;
    }
    .defa_complete .ivu-auto-complete {
        max-height: 220px;
    }
    .wk_checkbox-inner,
    .ivu-checkbox-inner {
        border-radius: 50%;
        border-color: #6a6a6a;
        // font-size: 14px;
    }
    .ivu-checkbox-checked .wk_checkbox-inner,
    .ivu-checkbox-checked .ivu-checkbox-inner {
        border-color: #6a6a6a;
        background-color: #6a6a6a;
    }
    .tabble {
        max-height: 560px;
        overflow-y: auto;
        .sel_table .ivu-table {
            font-size: 12px;
            // @media screen and (min-width:1500px){
            //     font-size: 14px;
            // }
            .ivu-table-cell {
                padding-left: 6px;
                padding-right: 6px;
            }
            .lastcoll {
                a {
                    margin-right: 20px;
                    display: inline-block;
                    &:hover {
                        color: $d55d;
                    }
                }
                i {
                    margin-right: 20px;
                    &:last-child {
                        margin-right: 0;
                    }
                }
                .lasbtn {
                    margin-right: 30px;
                    &:last-child {
                        margin-right: 0;
                    }
                }
            }
            .ivu-table-sort {
                width: 18px;
                height: 14px;
            }
            .ivu-table-sort i {
                font-size: 20px;
            }
        }
        .icon_weight {
            font-weight: bold;
            // font-size: 14px;
            cursor: pointer;
            &::before {
                font-size: 18px;
                vertical-align: -2px;
            }
            &:hover {
                color: $d55d;
            }
        }
        .icon_weight_sel {
            font-weight: bold;
            // font-size: 14px;
            cursor: pointer;
            vertical-align: -2px;
            &::before {
                font-size: 18px;
            }
            &:hover {
                color: $d55d;
            }
        }
    }
    .tab_pages {
        clear: both;
        margin-top: 26px;
        .ivu-page-item-active {
            border-color: #6a6a6a;
        }
        .ivu-page-item-active a,
        .ivu-page-item-active:hover a {
            color: #6a6a6a;
        }
    }
    .charge_table {
        min-height: 560px;
        padding-bottom: 20px;
        .charge_table_font {
            font-size: 12px;
            margin: 6px 0;
        }
    }
}

.table-warning-row td {
    background: #fffbc9 !important;
}

.defau_a {
    display: block;
    padding: 6px 12px;
    width: 100%;
    cursor: pointer;
    &:hover {
        color: #2d8cf0;
        background: #f5f5f5;
    }
}

.ivu-form .ivu-form-item-label {
    font-size: 14px;
}

.ivu-input-large.ivu-input {
    font-size: 14px;
    border-radius: 4px;
}

.wylarge .ivu-input {
    border-radius: 0 !important;
}

textarea.ivu-input {
    border: 1px solid #bbbbbb;
}

.set_seetin_cost {
    .ivu-modal {
        width: 560px !important;
    }
}

.seetin_cost {
    >div {
        width: 146px;
        height: 58px;
        line-height: 58px;
        border: 1px solid $co66;
        margin: 15px;
        display: inline-block;
        text-align: center;
        font-size: $s18;
        cursor: pointer;
    }
    .seetin_cost_active {
        border-color: $co2d;
        color: $co2d;
    }
}

.service {
    .ivu-select-selection {
        border-radius: 4px !important;
        border: 1px solid #666;
    }
    .ivu-select-placeholder {
        color: #bbb !important;
    }
}

.service_select {
    .ivu-select-selection {
        border-radius: 4px !important;
    }
    .ivu-select-placeholder {
        color: #bbb !important;
    }
}

.service_input_number {
    width: 100%;
    border: 1px solid #bbbbbb;
    .ivu-input-number-input::placeholder {
        color: #bbb !important;
    }
}

.red {
    color: #ed4014
}

.modal_select {
    .ivu-select-selection {
        border-radius: 4px !important;
    }
    // .ivu-select-input{
    //     height: auto;
    // }
}

.modal_inputnumber {
    width: 100%;
    border: 1px solid #c5c8ce;
}

.btn_default {
    height: 32px;
    line-height: 1;
    margin-left: 10px;
}

.icon_size22::before {
    font-size: 22px !important;
    vertical-align: -4px !important;
}

.cur {
    cursor: pointer;
}

.borderno .ivu-input,
.borderno.ivu-btn {
    border-radius: 0;
    border: 1px solid $c2c2;
}

.demo-spin-icon-load {
    animation: ani-demo-spin 1s linear infinite;
}

@keyframes ani-demo-spin {
    from {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.demo-spin-col {
    height: 100px;
    position: relative;
    border: 1px solid #eee;
}

.icon-balance {
    color: #17abe3;
}

.easyPrint {
    width: 1000px;
    margin: 0 auto;
    >div {
        display: block !important;
    }
}

.print_table {
    width: 100%;
    padding: 0;
    text-align: center;
    margin: 0;
    font-size: 12px !important;
    border-collapse: collapse;
    td,
    th {
        width: auto;
        padding: 8px 20px;
        border-spacing: inherit;
        border: 1px solid #666;
        border-collapse: collapse;
    }
    .tablet {
        text-align: left;
        padding-left: 130px;
    }
}

.print_table_list {
    width: 1000px;
    clear: both;
    padding: 0;
    margin: 0 auto;
    font-size: 12px !important;
    -webkit-text-size-adjust: none;
    border-collapse: collapse;
    white-space: nowrap;
    /* 自适应宽度*/
    word-break: keep-all;
    /* 避免长单词截断，保持全部 */
    td,
    th {
        word-break: keep-all;
        text-align: center;
        padding: 4px 2px;
        border-spacing: inherit;
        border: 1px solid #666;
        border-collapse: collapse;
        word-break: break-all;
        // width: 5%;
        &:nth-child(4) {
            width: 2%;
        }
        &:nth-child(5) {
            width: 3%;
        }
        &:nth-child(6) {
            width: 4%;
        }
        &:nth-child(7) {
            width: 2%;
        }
    }
    th {
        text-align: center;
    }
}

.vertical-center-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    .ivu-modal {
        top: 0;
    }
}